﻿<%@ Page Language="C#" Title="Tasty Pizza" AutoEventWireup="true" CodeFile="MobilePizza.aspx.cs" MasterPageFile="MobileMasterPage.master" Inherits="MobilePizza" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        #maincontent {
            height: 499px;
        }
    </style>
    </asp:Content>
    
<asp:Content ID="Content2" ContentPlaceHolderID="MWSContentPlaceHolder" Runat="Server">   

    <div id="container">

	<div id="mainheader" style="color: #000000"> Add Pizza Items 
        <img alt="" src="Images/TastyPizzariaLogo.png" style="height: 50px; width: 50px;" align="middle" /></div>
        
    <div id="maincontent" align="center" style="border-style: hidden; color: #000000; font-size: small;"> 

        <img alt="" src="Images/PizzaImage1.jpg" style="height: 40px; width: 40px" /> 
        Select Pizza Type Below<br />
        <asp:DropDownList ID="DropDownList1" runat="server" 
            DataSourceID="SqlDataSource1" DataTextField="DESCRIP" DataValueField="PRICE" 
            Height="20px" Width="160px"></asp:DropDownList>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:6118_fa12_TeamCConnectionString %>" SelectCommand="SELECT [DESCRIP], [PRICE] FROM [PRODUCTS] WHERE ([TYPE] = @TYPE)">
            <SelectParameters>
                <asp:ControlParameter ControlID="DropDownList1" DefaultValue="1" Name="TYPE" PropertyName="SelectedValue" Type="Int32" />
            </SelectParameters>
        </asp:SqlDataSource>
        <br />


        <img alt="" src="Images/Sauce1.jpg" style="height: 38px; width: 54px" /> 
        Select Sauce Type<br />
        <asp:DropDownList ID="DropDownList3" runat="server" DataSourceID="SqlDataSource3" DataTextField="DESCRIP" DataValueField="DESCRIP" Height="20px" Width="160px">
        </asp:DropDownList>
        <asp:SqlDataSource ID="SqlDataSource3" runat="server" ConnectionString="<%$ ConnectionStrings:6118_fa12_TeamCConnectionString %>" SelectCommand="SELECT [DESCRIP] FROM [PRODUCTS] WHERE ([TYPE] = @TYPE)">
            <SelectParameters>
                <asp:ControlParameter ControlID="DropDownList3" DefaultValue="5" Name="TYPE" PropertyName="SelectedValue" Type="Int32" />
            </SelectParameters>
        </asp:SqlDataSource>
        <br />

        <img alt="" src="Images/Cheese1.jpg" style="height: 38px; width: 54px" /> 
        Select Cheese Choice<br />
        <asp:DropDownList ID="DropDownList4" runat="server" DataSourceID="SqlDataSource4" DataTextField="DESCRIP" DataValueField="DESCRIP" Height="20px" Width="160px">
        </asp:DropDownList>
        <asp:SqlDataSource ID="SqlDataSource4" runat="server" ConnectionString="<%$ ConnectionStrings:6118_fa12_TeamCConnectionString %>" SelectCommand="SELECT [DESCRIP] FROM [PRODUCTS] WHERE ([TYPE] = @TYPE)">
            <SelectParameters>
                <asp:ControlParameter ControlID="DropDownList4" DefaultValue="6" Name="TYPE" PropertyName="SelectedValue" Type="Int32" />
            </SelectParameters>
        </asp:SqlDataSource> <br />

   <img alt="" src="Images/Crust1.jpg" style="height: 38px; width: 54px" /> 
        Select Crust Choice<br /> <br />
        <asp:DropDownList ID="DropDownList5" runat="server" DataSourceID="SqlDataSource5" DataTextField="DESCRIP" DataValueField="DESCRIP" Height="20px" Width="160px">
        </asp:DropDownList>
        <asp:SqlDataSource ID="SqlDataSource5" runat="server" ConnectionString="<%$ ConnectionStrings:6118_fa12_TeamCConnectionString %>" SelectCommand="SELECT [DESCRIP] FROM [PRODUCTS] WHERE ([TYPE] = @TYPE)">
            <SelectParameters>
                <asp:ControlParameter ControlID="DropDownList5" DefaultValue="7" Name="TYPE" PropertyName="SelectedValue" Type="Int32" />
            </SelectParameters>
        </asp:SqlDataSource>

        <br />
        <asp:Button ID="Button1" runat="server" Text="Add to Order" 
            onclick="Button1_Click" />

<br />
     


        


    </div>
    
    </div>

  </asp:Content>